
package com.craterhill.java.ems.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.craterhill.java.ems.common.beans.DateFormat;
import com.craterhill.java.ems.dao.DateFormatDao;
import com.craterhill.java.ems.service.DateFormatService;

@Service
public class DateFormatServiceImpl implements DateFormatService {

	@Autowired
	private DateFormatDao dateFormatDao;

	@Override
	public List<DateFormat> getDateFormats() {
		return dateFormatDao.findAll();
	}
}
